import request from '@/utils/request'

/**
 * 获取收藏分页数据
 * @param {Integer} collectType - 收藏类型
 * @returns
 */
export const findCollect = ({ page, pagesize, collectType = 1 }) => {
  return request({
    url: '/member/collect',
    params: { page, pagesize, collectType }
  })
}

// 模拟我的足迹
export const findBrowseHistory = ({ page, pagesize, collectType = 1 }) => {
  return request({
    url: '/member/browseHistory',
    params: { page, pagesize, collectType }
  })
}
